<template>
  <div>
    <router-link to="/one?id=1">页面1 首页</router-link>&nbsp;
    <router-link to="/tow?id=2">页面2 分类</router-link>&nbsp;
    <router-link to="/three?id=3">页面3 订单</router-link>&nbsp;
    <router-link to="/four?id=4">页面4 我的</router-link>&nbsp;
     <router-view></router-view>
  </div>
</template>

<script>
export default {
  data(){
    return {}
  }
}
</script>

<style scoped>
.router-link-active{
  color:pink
}

</style>